#!/bin/bash

ps_out=`ps -ef | grep $1 | grep -v 'grep' | grep -v $0`
result=$(echo $ps_out | grep "$1")
if [[ "$result" == "" ]]; then
  ./balancer /etc/nsproxy/ 9000 149.129.109.106:6643
fi

